<fieldset>
    	<legend>{load_cal}</legend>	
	<form method="POST" action="index.php?page=calendar" enctype="multipart/form-data">
	<input type="hidden" value="1" name="action" />
	<div id="loadSection">
		<div><label>Carica un calendario</label></div>
		<div><textarea type="textarea" cols="50" rows="3" name="serialdata"  ></textarea></div>
		<div><input type="file" name="serialdatafile" /></div>
	</div>
	<input type="submit" value="carica" />
</form>
</fieldset>
<hr />
<div class="error">[[error]]</div>
<form method="POST" action="index.php?page=calendar">
	<input type="hidden" value="1" name="action" />
    <fieldset>
    	<legend>{cal_name}</legend>
		<input type="text" size="45" name="calendarName" value="[[calName]]" />
		<select name="orientation">
			<option value="0">{horizontal}</option>
			<option value="1">{vertical}</option>
		</select>
	</fieldset>
	<fieldset>
		<legend>{numeric_information}</legend>
		<table id="calendarValue" style="width:700px;">
			<tr>
				<th style="width:100px;">{years_days}</th>
				<th style="width:100px;">{year_months}</th>
				<th style="width:100px;">{week_days}</th>
				<th style="width:200px;">{first_year_day}</th>
				<th style="width:100px;">{moons}</th>
			</tr>
			<tr>
				<td><input id="yearDaysInput" class="center bold" type="text" size="3" name="yearDays" readonly="readonly" value="[[yearDays]]" /></td>
				<td><input id="monthNumberInput" type="text" size="3" class="center" name="yearMonths" value="[[yearMonths]]" /><img class="clickable" src="./images/plus.png" onClick="addMonthNameField(1); totalYearDays();" /><img class="clickable" src="./images/minus.png" onClick="addMonthNameField(-1); totalYearDays();" /></td>
				<td><input id="weeksDay" type="text" size="3" name="weekDays" class="center" value="[[weekDays]]" /><img class="clickable" src="./images/plus.png" onClick="addDayNameField(1);" /><img class="clickable" src="./images/minus.png" onClick="addDayNameField(-1);" /></td>
				<td><input type="text" size="3" name="beginYearDayNumber" class="center" onKeyUp="myDay(this.value);" value="[[beginYearDayNumber]]" /><br /><span class="infonote">{begin_day_note}</span></td>
				<td><input id="moonNumberInput" type="text" size="3" class="center" name="moonNumber" value="[[moonNumber]]" /><img class="clickable" src="./images/plus.png" onClick="addMoonNameField(1);" /><img class="clickable" src="./images/minus.png" onClick="addMoonNameField(-1); " /></td>	
			</tr>
		</table>
	</fieldset>
	<fieldset>
		<legend>{name_information}</legend>
		<table id="nameOfStuffs">
			<tr>
				<th>{months_names}</th>
				<th>{day_names}</th>
				<th style="width:250px;text-align:left;">{moon_names}</th>
			</tr>
			<tr>
				<td id="monthName">
					[[months]]
				</td>
				<td id="daysName">
					[[days]]
				</td>
				<td id="moonsName">
					[[moons]]
				</td>
			</tr>
		</table>
	</fieldset>
	<input type="submit" value="crea" class="makeButton"/>
</form>